package com.jsh.erp.service.activiti.Impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.baomidou.mybatisplus.extension.conditions.update.LambdaUpdateChainWrapper;
import com.baomidou.mybatisplus.extension.conditions.update.UpdateChainWrapper;
import com.baomidou.mybatisplus.extension.kotlin.KtQueryChainWrapper;
import com.baomidou.mybatisplus.extension.kotlin.KtUpdateChainWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jsh.erp.datasource.entities.activitti.SysDictItem;
import com.jsh.erp.datasource.mappers.activiti.SysDictItemMapper;
import com.jsh.erp.service.activiti.ISysDictItemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * @author 86138
 * @date 2023-03-06 22:20:39
 * @description
 */
@Service
public class ISysDictItemServiceImpl extends ServiceImpl<SysDictItemMapper, SysDictItem> implements ISysDictItemService {
    @Resource
    SysDictItemMapper sysDictItemMapper;

    @Override
    public List<SysDictItem> selectDictItem(SysDictItem sysDictItem, int currentPage, int pageSize) {
        List<SysDictItem> list =null;
        list = sysDictItemMapper.selectDictItem(sysDictItem,currentPage,pageSize);
        return list;
    }

    @Override
    public Long countDictItem(SysDictItem sysDictItem) {
        return sysDictItemMapper.countDictItem(sysDictItem);
    }

}
